package com.moneywelcome.atomloanassembly.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("借贷合同表参数")
@TableName("loan_contract")
public class LoanContract {

    @TableId(value = "contract_id",type = IdType.AUTO)
    private Integer contractId;

    @ApiModelProperty("借款id")
    private Integer loanId;

    @ApiModelProperty("协议id")
    private Integer agreementId;

    @ApiModelProperty("合同标题")
    private String contractTitle;

    @ApiModelProperty("合同内容")
    private String contractContent;

    @ApiModelProperty("合同附件")
    private String contractAttachment;

}
